import my.EpollEventLoopGroup;
import my.ServerBootstrap;

import java.io.IOException;

public class ThreadEpollMain {

    static {
        System.load(ThreadEpollMain.class.getResource("/").getPath() + "libepoll-http.so");
    }

    public static void main(String[] args) throws IOException {
        EpollEventLoopGroup workers = new EpollEventLoopGroup(2);
        ServerBootstrap.getInstance().group(workers).bind(8080);
    }
}
